package cn.com.xy.sms.sdk.ui.popu.util;

import android.text.TextPaint;
import android.text.style.CharacterStyle;
import android.text.style.UpdateAppearance;
/*SDK-605 hewengao/20161003 start*/
public class BgSpan extends CharacterStyle implements UpdateAppearance {
    public static int mBgColor = 0;
    public static void setBgColor(int bgColor){
        mBgColor = bgColor;
    }
    @Override
    public void updateDrawState(TextPaint ds) {
        ds.bgColor = mBgColor;
    }
}
/*SDK-605 hewengao/20161003 end*/